<html>
<head><meta charset="utf-8"><title>Writing a Compiler · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html">Writing a Compiler</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233821907"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233821907" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233821907">(Apr 09 2021 at 13:38)</a>:</h4>
<p>Hello all, </p>
<p>I'm taking a course on compilers for school and the final project is supposed to be a working compiler. While they recommend people write it for COOL, they accept a compiler for any language in any language. I was wondering if I could pick Rust as my source language and write a very basic compiler for it, would that be feasible for me to write by myself? </p>
<p>If not, I would probably write a compiler IN rust instead. I just wanted some thoughts/tips/advice from the veteran coders on here :)</p>
<p>Cheers!</p>



<a name="233822082"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233822082" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233822082">(Apr 09 2021 at 13:38)</a>:</h4>
<p>hmm it depends what you mean by very basic - even if you don't handle macros at all you'll still have to implement type inference and traits</p>



<a name="233822116"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233822116" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233822116">(Apr 09 2021 at 13:39)</a>:</h4>
<p>it's certainly possible because mrustc is written by one person, but it's a big project</p>



<a name="233822153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233822153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233822153">(Apr 09 2021 at 13:39)</a>:</h4>
<p>I not certain asking for help here with a specific school project is a good idea, do you have TAs?</p>



<a name="233822689"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233822689" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233822689">(Apr 09 2021 at 13:42)</a>:</h4>
<p>not really. it's a self paced course. I just have online resources and the dragon book. There's no strict timeline.  I have the rest of the year to work on it.</p>
<p>By basic, I mean perhaps I could just get the front end working by end of the year it would be acceptable.</p>



<a name="233822939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233822939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233822939">(Apr 09 2021 at 13:44)</a>:</h4>
<p>that sounds very relaxed, anyways I would recommend sourcing information for doing homework within your academic environment</p>



<a name="233823078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823078">(Apr 09 2021 at 13:45)</a>:</h4>
<p>A subset of Rust shouldn't be too difficult to implement. E.g. no type inference, no generics, no traits, etc. You can build it up slowly one feature at a time.</p>



<a name="233823255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823255">(Apr 09 2021 at 13:46)</a>:</h4>
<p>Just don't expect to be able to compile <code>core</code> or <code>std</code>.</p>



<a name="233823349"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823349" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823349">(Apr 09 2021 at 13:46)</a>:</h4>
<p>honestly compiling those two crates is probably the hardest thing you can do because they're so tied to the implementation</p>



<a name="233823361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823361">(Apr 09 2021 at 13:47)</a>:</h4>
<p>lots of lang items and cfg(bootstrap)</p>



<a name="233823801"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823801" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823801">(Apr 09 2021 at 13:49)</a>:</h4>
<p>ya that was the plan. basically go through concepts in the dragon book and apply them for rust. building it up slowly. </p>
<p>I hope eventually I understand the inner workings enough to actually contribute on here. Will be a while but got to start somewhere.</p>
<p>Thanks a lot for your time folks!</p>



<a name="233823927"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233823927" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233823927">(Apr 09 2021 at 13:50)</a>:</h4>
<p>btw you don't have to write your own compiler to contribute to rustc <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="233824106"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233824106" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233824106">(Apr 09 2021 at 13:51)</a>:</h4>
<p>Hmm, I just assumed one should know how a compiler works before contributing to a compiler! :D How do you mean? :)</p>



<a name="233824265"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233824265" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233824265">(Apr 09 2021 at 13:52)</a>:</h4>
<p>you can just jump in :) there are a bunch of issues tagged as E-mentor you could look at</p>



<a name="233824551"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233824551" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233824551">(Apr 09 2021 at 13:54)</a>:</h4>
<p>And "rustc" is bigger than the compiler core itself.</p>



<a name="233824590"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233824590" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233824590">(Apr 09 2021 at 13:54)</a>:</h4>
<p>oh sweet! I will take a look for sure! Thanks!</p>



<a name="233824611"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233824611" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233824611">(Apr 09 2021 at 13:54)</a>:</h4>
<p>There's lots of nearby parts.</p>



<a name="233825272"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825272" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825272">(Apr 09 2021 at 13:58)</a>:</h4>
<p>I would have chosen my research project based on Rust looking back now</p>



<a name="233825356"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825356" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825356">(Apr 09 2021 at 13:59)</a>:</h4>
<p>just go back to school and do it <span aria-label="grinning face with smiling eyes" class="emoji emoji-1f601" role="img" title="grinning face with smiling eyes">:grinning_face_with_smiling_eyes:</span></p>



<a name="233825368"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825368" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825368">(Apr 09 2021 at 13:59)</a>:</h4>
<p>eeeh</p>



<a name="233825521"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825521" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825521">(Apr 09 2021 at 14:00)</a>:</h4>
<p>maybe</p>



<a name="233825754"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825754" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825754">(Apr 09 2021 at 14:01)</a>:</h4>
<p>or just do a project, then go back to school eventually to get a credential when you feel like it.</p>



<a name="233825770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825770">(Apr 09 2021 at 14:01)</a>:</h4>
<p>what would my thesis be though? something about AI in the compiler maybe, AI guided optimizing compiler.. or should it be "" compiler optimizer</p>



<a name="233825809"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233825809" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233825809">(Apr 09 2021 at 14:01)</a>:</h4>
<p>these are the important questions <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="233826168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233826168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233826168">(Apr 09 2021 at 14:03)</a>:</h4>
<p>flip a coin. always the best way of making big life decisions :P :D</p>



<a name="233826704"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233826704" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233826704">(Apr 09 2021 at 14:07)</a>:</h4>
<p>the AI is partly just to ensure it gets funded</p>



<a name="233826787"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233826787" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233826787">(Apr 09 2021 at 14:07)</a>:</h4>
<p>If you want extra funding, throw a blockchain in as well.</p>



<a name="233827029"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233827029" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233827029">(Apr 09 2021 at 14:09)</a>:</h4>
<p>you must mean: AI-assembled Rust compiler block-quantums</p>



<a name="233828532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233828532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233828532">(Apr 09 2021 at 14:18)</a>:</h4>
<p>I've been working on it for months in secret</p>



<a name="233834163"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233834163" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233834163">(Apr 09 2021 at 14:50)</a>:</h4>
<p>I have implemented a compiler for a Rust inspired language during a similar course a few years ago.</p>



<a name="233834542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233834542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233834542">(Apr 09 2021 at 14:52)</a>:</h4>
<p>I took it as a good opportunity to experiment with various ideas i had for Rust frontend at the time. Definitely doable, but depending on what your goal is, doing something other than rust-like can be a better choice.</p>



<a name="233834671"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233834671" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233834671">(Apr 09 2021 at 14:53)</a>:</h4>
<p>mostly to learn and understand the compiler design and implementation</p>



<a name="233834775"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233834775" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233834775">(Apr 09 2021 at 14:53)</a>:</h4>
<p>e.g. Rust-like frontend can be quite difficult to implement – resolving names can be a slight challenge, for instance. If you're looking to learn more about the backend, codegen and similar, a similicity-focused frontend can still be a good groundwork for experiments in that area.</p>



<a name="233836288"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233836288" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233836288">(Apr 09 2021 at 15:01)</a>:</h4>
<p>not sure what a "similicity-focused frontend" is to be honest. but basically you're saying I could get to the backend sooner with a different (simpler) language than rust. right?</p>



<a name="233837283"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233837283" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233837283">(Apr 09 2021 at 15:04)</a>:</h4>
<p>Basically. Pascal comes to mind as something that would result in a fairly simple frontend if you want one such. Or you could define the language as you implement the frontend in the first place, stopping at whatever level of complexity you feel is appropriate for a course project.</p>



<a name="233837513"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233837513" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233837513">(Apr 09 2021 at 15:04)</a>:</h4>
<p>ya, the course recommends we use "COOL"</p>



<a name="233837810"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233837810" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233837810">(Apr 09 2021 at 15:05)</a>:</h4>
<p>it's funny, when they asked us to write a "cool" program. I just wrote a C program that printed "I'm a cool program".  that got me some weird looks from the prof. :D</p>



<a name="233837815"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233837815" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233837815">(Apr 09 2021 at 15:05)</a>:</h4>
<p>(Though I don't particularly recommend the latter approach, its a very hacky way to approach the problem and requires some foresight to not accidentally design yourself into a pit)</p>



<a name="233838285"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233838285" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233838285">(Apr 09 2021 at 15:07)</a>:</h4>
<p>ya I want to spend as much time is needed to get something to work. even if it's not for this course. I could spend time on it and make sure it compiles. since time wasn't an issue I wanted to pick something a bit more complex than COOL or pascal. I thought of Rust since internet is littered with C compilers :D</p>



<a name="233839204"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233839204" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233839204">(Apr 09 2021 at 15:10)</a>:</h4>
<p>and dialects of Scheme</p>



<a name="233842784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233842784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233842784">(Apr 09 2021 at 15:26)</a>:</h4>
<p>Yeah, doing a lisp is nice because you don't have to mess as much with the parsing side.</p>



<a name="233845784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233845784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233845784">(Apr 09 2021 at 15:44)</a>:</h4>
<p>Alright, I'll go with something like that then. maybe just make up a simple language at that point :D</p>



<a name="233845890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233845890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233845890">(Apr 09 2021 at 15:45)</a>:</h4>
<p>maybe call it JJON with all your initials since ya'll helped me out <span aria-label="thumbs up" class="emoji emoji-1f44d" role="img" title="thumbs up">:thumbs_up:</span></p>



<a name="233846643"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233846643" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233846643">(Apr 09 2021 at 15:50)</a>:</h4>
<p>remember you came here to know that</p>



<a name="233850159"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233850159" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233850159">(Apr 09 2021 at 16:13)</a>:</h4>
<p>you say that as if I'm leaving ;)</p>



<a name="233850239"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233850239" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233850239">(Apr 09 2021 at 16:14)</a>:</h4>
<p>I have some contributing to do out here. hopefully soon. just waiting for weekend to start.</p>



<a name="233851524"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233851524" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233851524">(Apr 09 2021 at 16:22)</a>:</h4>
<p>when someone inevitably asks where you got such excellent ideas</p>



<a name="233852272"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Writing%20a%20Compiler/near/233852272" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Soulhealer95 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Writing.20a.20Compiler.html#233852272">(Apr 09 2021 at 16:27)</a>:</h4>
<p>I got a list of people for the README xD</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>